package com.fitness.front.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fitness.front.modal.news.entity.News;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface NewsMapper extends BaseMapper<News> {
    @Select("select * from t_news order by update_time limit 6")
    List<News> indexNews();

}
